package ym.ecrm.core.domain.serviceManagement;

import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import ym.ecrm.core.domain.base.BaseEntity;
import ym.ecrm.core.domain.systemManagement.User;

/**
 * QA知识库
 * @author Princess
 * @version 1.0
 */
public class QAKnowledge extends BaseEntity{

	/**
	 * QA知识库编号
	 */
	private String qAKnowledgeCode;
	/**
	 * 问题
	 */
	private String question;
	/**
	 * 解答
	 */
	private String answer;
	/**
	 * QA知识库状态
	 */
	private String qAKnowledgeStatus;
	/**
	 * 作者
	 */
	@ManyToOne
	@JoinColumn(name="user_id")
	private User user;
	
	public String getqAKnowledgeCode() {
		return qAKnowledgeCode;
	}
	public void setqAKnowledgeCode(String qAKnowledgeCode) {
		this.qAKnowledgeCode = qAKnowledgeCode;
	}
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public String getqAKnowledgeStatus() {
		return qAKnowledgeStatus;
	}
	public void setqAKnowledgeStatus(String qAKnowledgeStatus) {
		this.qAKnowledgeStatus = qAKnowledgeStatus;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	
}
